<!DOCTYPE html>
<html class="um-vp">
<head>
<title>权限提示</title>
<meta charset="utf-8">
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link rel="stylesheet" href="css/ui-box.css?v=202022">
<link rel="stylesheet" href="css/ui-base.css?v=202022">
<link rel="stylesheet" href="css/base.css?v=202022">
<link rel="stylesheet" href="css/ui-position.css?v=202022">
<link rel="stylesheet" href="css/ui-img.css?v=20170906">
<link rel="stylesheet" href="css/ui-color.css?v=202022">
<link rel="stylesheet" href="css/ui-input.css?v=202022">
<link rel="stylesheet" href="css/iBox.css?v=202022">
<style type="text/css">
.deleteAuth {
	height: 1.4em;
	width: 1.4em;
	border-radius: 50%;
	display: block;
	position: absolute;
	right: 0em;
	top: 0em;
	z-index: 100;
}
.deleteAuth {
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	background: #f54949;
}
</style>
</head>
<body class="um-vp ub-ver"  ontouchstart>
    <img src="images/bg.png" style="display:none;" />    
    <canvas id = "watermark" width = "200px"  height = "100px" style="display:none;"></canvas>
    <canvas id = "repeat-watermark"></canvas>
<div class="c17 p10 fs9" hand="warning">
    <p class="mb5" style="font-weight:bold;">您查询的内容需提交申请并经所属单位盖章以开通权限，所在单位盖章后，再发送扫描件到bocc1@ceair.com开通。</p>
    <p>申请表需包含：开通权限的内容、账号、姓名、职位、电话、开通原因和单位盖章。</p>
</div>
<div class="ub ub-ver pl10 pr10 fs9">
    <div>点击<b class="ml5 mr5 lh25 bc13 c1 ub-ac pt5 pb5 pl8 pr8" onClick="iP.search()">这里</b>发送申请表到
    <div class="mr5 ub ub-ac c33 uba uinput emailValue" >
       <input type="text" id="txtSearch" class="fs9 c5" />
    </div>
    </div>
</div>
<div class="pl10 fs9 c17 pt5 pb5">示例如下：</div>
<div class="ub ub-pc ub-ac">
    <div class="ub-img img271"></div>
</div>
<script src="js/appcan.js"></script>
<script src="js/appcan.control.js"></script>
<script src="js/zy_control.js?v=202022"></script> 
<script src="js/zy_click.js?v=202022"></script> 
<script src="js/jquery-3.1.1.min.js"></script> 
<script src="js/iBox.js?v=202022"></script> 
<script src="js/z_API.js"></script>
<script>   
zy_init();
window.uexOnload=function(type){
    iG.bgm();
	iP.init();
}
iP = {}
iP.init = function(){
    //alert(localStorage['MU30-lOGIN-USRNAME'])
    $("#txtSearch").val(localStorage['MU30-lOGIN-USRNAME']+"@ceair.com");
            
}
iP.search = function (){
    appcan.window.openToast({
      msg: "正在发送,请稍等...",
      duration: -1,
      position: 5,
      type: 1
    });
    
    $.ajax({
        url:"http://mpservice.ceair.com/mpservice/sendMail_addOperationRecord.action?sendAddress="+$("#txtSearch").val(),
        type:"GET",
        dataType:"text",
        success:function(data){
             
            appcan.window.closeToast();
            if(data==="OK"){
                appcan.window.openToast({
                    msg: "发送成功",
                    duration: 2000,
                    position: 5,
                    type: 1
                });
            }else{
                appcan.window.openToast({
                    msg: "发送失败,请检查邮箱格式是否正确!",
                    duration: 3000,
                    position: 5,
                    type: 1
                });
            }
            
        },
        error:function(err){
             
            appcan.window.openToast({
                msg: "发送失败,请重试...",
                duration: 3000,
                position: 5,
                type: 1
            });
        }
    });
}
</script>
</body>
</html>